package com.kinglone.back.userPKRole.dao;

import java.util.List;
import java.util.Map;

import com.kinglone.back.user.model.User;

public interface UserPKRoleMapper {

	/**
	 * 解除绑定用户
	 * @param userId
	 * @param roleId
	 */
	public void removeUserByUserIdAndRoleId(Map<String, Object> params);

	/**
	 * 根据角色id查询未绑定用户
	 * @param roleId
	 * @return
	 */
	public List<User> findUnBindUsers(String roleId);

	/**
	 * 绑定用户
	 * @param params
	 */
	public void bindUser(Map<String, Object> params);

}
